package com.suse.lhw.hms.authserver.exception;

/**
 * @ProjectName: health_manage_system
 * @Package: com.suse.lhw.hms.authserver.exception
 * @ClassName: BasicException
 * @Description: 自定义异常
 * @Author: 李鸿炜
 * @CreateDate: 2020/4/10 10:57
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/4/10 10:57
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class BasicException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    private int code = 0;

    public BasicException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return this.code;
    }
}
